Network coding-based data processing method and system

ABSTRACT

The present disclosure provides a network coding-based data processing method and system. The method includes: receiving modulated data packets, the modulated data packets including: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing the bit error rate of received signals, and a bit stream transmitted in the third data packet is an Exclusive-OR result of a bit stream transmitted in the first data packet and a bit stream transmitted in the second data packet, that is, c=a⊕b; and obtaining original transmitted data from the received data packets.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/CN2011/075212, filed on Jun. 2, 2011, which claims priority to Chinese Patent Application No. 201010512027.0, filed on Sep. 30, 2010, both of which are hereby incorporated by reference in their entireties.

FIELD

The present disclosure relates to mobile communications technologies, and in particular, to a network coding-based data processing method and system.

BACKGROUND

Network coding is a technology that better meets the radio bandwidth requirement. Assume that source node A and source node B exchange data packets by using an intermediate node. If network coding is not adopted, source node A transmits data packet a to the intermediate node at time point 1, source node B transmits data packet b to the intermediate node at time point 2, and the intermediate node transmits data packet b to source node A at time point 3 and transmits data packet a to source node B at time point 4. If network coding is adopted, source node A transmits packet a to the intermediate node at time point 1, source node B transmits data packet b to the intermediate node at time point 2, and the intermediate node transmits data packet c, c=xor(a,b)=a⊕b, to both source node A and source node B at time point 3. A comparison of the above two processes shows that after network coding is introduced, a timeslot of resources may be saved and thereby the utilization rate of the spectrum may be greatly improved.

In the prior art, during transmission of data packet a, data packet b, and data packet c, these data packets are transmitted in the same modulation map. However, adopting the same modulation map cannot ensure optimal transmission performance.

SUMMARY

Embodiments of the present disclosure provide a network coding-based data processing method and system for achieving optimal transmission performance.

An embodiment of the present disclosure provides a network coding-based data processing method implemented in a receiving device having a processor. In the method, the receiving device receives data packets, where the data packets include: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing the bit error rate of received signals, and a bit stream transmitted in the third data packet c is an Exclusive-OR result of a bit stream transmitted in the first data packet a and a bit stream transmitted in the second data packet b, that is, c=a⊕b. The receiving device then obtains original transmitted data from the received data packets.

An embodiment of the present disclosure provides a network coding-based data processing method, including: setting a candidate constellation map set for a first constellation map, a second constellation map, and a third constellation map; calculating an average theoretical bit error rate of a first data packet and a second data packet in the case of different constellation combinations within the constellation map set; determining a constellation combination corresponding to a minimum average theoretical bit error rate as a combination of the first constellation map, the second constellation map, and the third constellation map to modulate the first data packet by using the first constellation map, modulate the second data packet by using the second constellation map, and modulate a third data packet by using the third constellation map.

An embodiment of the present disclosure provides a receiving device having a processor, including a receiving module configured to receive, by the processor, data packets, where the data packets include: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals, and a bit stream transmitted in the third data packet c is an Exclusive-OR result of a bit stream transmitted in the first data packet a and a bit stream transmitted in the second data packet b, that is, c=a⊕b; and obtaining, by the processor, original transmitted data from the received data packets.

An embodiment of the present disclosure provides a constellation combination obtaining device, including: a setting module, configured to set a candidate constellation map set for a first constellation map, a second constellation map, and a third constellation map; a calculating module, configured to calculate an average theoretical bit error rate of a first data packet and a second data packet in the case of different constellation combinations within the constellation map set; and a determining module, configured to determine a constellation combination corresponding to a minimum average theoretical bit error rate as a combination of the first constellation map, the second constellation map, and the third constellation map to modulate the first data packet by using the first constellation map, modulate the second data packet by using the second constellation map, and modulate a third data packet by using the third constellation map.

An embodiment of the present disclosure provides a network coding-based data processing system, including: a constellation combination obtaining device, configured to obtain a first constellation map corresponding to a first data packet, a second constellation map corresponding to a second data packet, and a third constellation map corresponding to a third data packet; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals; a first transmitting device, configured to generate the first data packet, modulate the first data packet by using the first constellation map, and transmit the modulated first data packet; a second transmitting device, configured to generate a second data packet, modulate the second data packet by using the second constellation map, and transmit the modulated second data packet; a third transmitting device, configured to receive the first data packet and the second data packet, perform an Exclusive-OR operation on the first data packet and the second data packet to obtain the third data packet, modulate the third data packet by using the third constellation map, and transmit the modulated third data packet; and a receiving device, configured to receive the modulated first data packet, second data packet, and third data packet to obtain original data.

It can be seen from the above solutions that, according to the network coding-based data processing method and device in the embodiments of the present disclosure, different data packets are modulated in different modulation maps, and the different modulation maps are capable of minimizing the bit error rate of the received signals, thereby achieving optimal system transmission performance.

BRIEF DESCRIPTION OF THE DRAWINGS

To make the solutions of the present disclosure clearer, the accompanying drawings for illustrating various embodiments of the present disclosure are described below. Apparently, the accompanying drawings are for the exemplary purpose only, and persons of ordinary skills in the art may derive other drawings from such accompanying drawings without any creative effort.

FIG. 1 is a schematic structural diagram of a system in a first scenario according to an embodiment of the present disclosure;

FIG. 2 is a schematic structural diagram of a system in a second scenario according to an embodiment of the present disclosure;

FIG. 3 is a schematic structural diagram of a system in a third scenario according to an embodiment of the present disclosure;

FIG. 4 is a schematic flowchart of a method according to a first embodiment of the present disclosure;

FIG. 5 is a schematic flowchart of a method for obtaining an optimal combination of constellation maps according to an embodiment of the present disclosure;

FIG. 6 is a schematic flowchart of a method for obtaining original transmitted data from received data packets according to an embodiment of the present disclosure;

FIG. 7 is a schematic diagram of a constellation map according to an embodiment of the present disclosure;

FIG. 8 is a schematic diagram of a combined constellation map according to an embodiment of the present disclosure;

FIG. 9 is a schematic structural diagram of a receiving device according to a second embodiment of the present disclosure;

FIG. 10 illustrates a constellation combination obtaining device according to a third embodiment of the present disclosure; and

FIG. 11 is a schematic structural diagram of a system according to a fourth embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Objectives, solutions, and beneficial effects of the embodiments of the present disclosure are described clearly and completely with reference to the accompanying drawings. Evidently, the embodiments are exemplary only, without covering all embodiments of the present disclosure. Persons of ordinary skills in the art can derive other embodiments from the embodiments given herein without making any creative effort, and all such embodiments are covered in the protection scope of the present disclosure.

The network coding technology is applicable to multiple scenarios in a radio communication system. The typical scenarios corresponding to the embodiments of the present disclosure may refer to FIG. 1 to FIG. 3.

FIG. 1 is a schematic structural diagram of a system in a first scenario according to an embodiment of the present disclosure. Referring to FIG. 1, the system includes a base station (Base Station, BS), a relay station (Relay Station, RS), a first user equipment (UE A), and a second user equipment (UE B). A schematic diagram of the scenario that two user equipments transmit data to a base station by using a relay station is illustrated.

Specifically, at a first time point, UE A transmits data packet a to both the BS and the RS.

At a second time point, UE B transmits data packet b to both the BS and the RS.

At a third time point, the RS transmits data packet c, c=a⊕b, that is, xor(a,b), to the BS, where data packet c is obtained after an Exclusive-OR operation is performed on data packet a and data packet b.

FIG. 2 is a schematic structural diagram of a system in a second scenario according to an embodiment of the present disclosure. Referring to FIG. 2, the system includes a base station (Base Station, BS), a relay station (Relay Station, RS), a first user equipment (UE A), and a second user equipment (UE B). A schematic diagram of the scenario that a base station transmits data to two user equipments by using a relay station is illustrated.

Specifically, at a first time point, the BS transmits data packet a to UE A, UE B, and the RS simultaneously.

At a second time point, the BS transmits data packet b to UE A, UE B, and the RS simultaneously.

At a third time point, the RS transmits data packet c, c=a⊕b, to UE A and UE B, where data packet c is obtained after an Exclusive-OR operation is performed on data packet a and data packet b.

FIG. 3 is a schematic structural diagram of a system in a third scenario according to an embodiment of the present disclosure. Referring to FIG. 3, the system includes a base station (Base Station, BS), a first user equipment (UE A), and a second user equipment (UE B). A schematic diagram of the scenario that two user equipments collaboratively transmit data to a base station is illustrated.

Specifically, at a first time point, UE A transmits data packet a to both UE B and the RS.

At a second time point, UE B transmits data packet b to both UE A and the BS.

At a third time point, UE A and UE B concurrently transmit data packet c, c=a⊕b, to the BS, where data packet c is obtained after an Exclusive-OR operation is performed on data packet a and data packet b.

In the above application scenarios, the data transmission method according to the embodiments of the present disclosure may be used.

FIG. 4 is a schematic flowchart of a method according to an embodiment of the present disclosure, including:

Step 41: A receiving device receives modulated data packets. The modulated data packets include: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals, and a bit stream transmitted in the third data packet is an Exclusive-OR result of a bit stream transmitted in the first data packet and a bit stream transmitted in the second data packet, that is, c=a⊕b, where c is the bit stream transmitted in the third data packet, a is the bit stream transmitted in the first data packet, and b is the bit stream transmitted in the second data packet.

For example, referring to FIG. 1 to FIG. 3, the first data packet is data packet a, the second data packet is data packet b, and the third data packet is data packet c. Specifically, referring to FIG. 1, in an embodiment, the first data packet is a data packet transmitted from a first user equipment to a relay station and a base station; the second data packet is a data packet transmitted from a second user equipment to the relay station and the base station; and the third data packet is a data packet transmitted from the relay station to the base station. Referring to FIG. 2, in an embodiment, the first data packet is a data packet transmitted from a base station to a relay station, a first user equipment, and a second user equipment; the second data packet is a data packet transmitted from the base station to the relay station, the first user equipment, and the second user equipment; and the third data packet is a data packet transmitted from the relay station to the first user equipment and the second user equipment. Referring to FIG. 3, in an embodiment, the first data packet is a data packet transmitted from a first user equipment to a base station and a second user equipment; the second data packet is a data packet transmitted from the second user equipment to the base station and the first user equipment; and the third data packet is a data packet simultaneously transmitted from the first user equipment and the second user equipment to the base station.

In addition, the receiving device refers to a receiving node capable of receiving data packet a, data packet b, and data packet c. For example, in the system shown in FIG. 1, the receiving device is a BS; in the system shown in FIG. 2, the receiving device is two user equipments; and in the system shown in FIG. 3, the receiving device is a BS.

Step 42: The receiving device obtains original transmitted data from the received data packets.

Specifically, in this embodiment of the present disclosure, the original transmitted data may be obtained from the received data packets in a joint demodulation map. The details may refer to the following embodiment.

According to this embodiment, different data packets are modulated in different modulation maps, and the different modulation maps are capable of minimizing the bit error rate of the received signals, thereby achieving optimal system transmission performance.

Based on the system shown in FIG. 1, the signals received by the base station may be expressed as follows:

r ₁ =h ₁ M ₁(a)+n ₁ =h ₁ s ₁ +n ₁, where s₁ =M ₁(a)

r ₂ =h ₂ M ₂(b)+n ₂ =h ₂ s ₂ +n ₂, where s₂ =M ₂(b)

r ₃ =h ₃ M ₃(c)+n ₃ =h ₃ s ₃ +n ₃, where s₃ =M ₃(C)  (1)

where:

1) r_(k) is the signal received by the base station at the time point k=1, 2, 3, n_(k) is the corresponding noise, and h_(k) is the corresponding signal response;

2) s₁ is the data obtained after data packet a is modulated by using the constellation map M₁, s₂ is the data obtained after data packet b is modulated by using the constellation map M₂, and s₃ is the data obtained after data packet a⊕b is modulated by using the constellation map M₃; where a and b are transmitted bit streams.

Assume that a channel may be removed from the interference by using an equalizer or only received signals in the case of Gaussian noise are considered, the following formula may be obtained:

{circumflex over (r)} ₁ =s ₁ +{circumflex over (n)} ₁

{circumflex over (r)} ₂ =s ₂ +{circumflex over (n)} ₂

{circumflex over (r)} ₃ =s ₃ +{circumflex over (n)} ₃  (1)

According to formula (2), a three-dimensional received signal may be obtained after the received signals are recombined.

$\begin{matrix} \begin{matrix} {r = {{{\hat{r}}_{1}i_{1}} + {{\hat{r}}_{2}i_{2}} + {{\hat{r}}_{3}i_{3}}}} \\ {= {\underset{\underset{s}{}}{{s_{1}i_{1}} + {s_{2}i_{2}} + {s_{3}i_{3}}} + \underset{\underset{n}{}}{{{\hat{n}}_{1}i_{1}} + {{\hat{n}}_{2}i_{2}} + {{\hat{n}}_{3}i_{3}}}}} \\ {{= {s + n}},} \end{matrix} & (2) \end{matrix}$

where, i_(k)(k=1, 2, 3) is an orthogonal unit vector.

In this embodiment of the present disclosure, for achieving optimal transmission performance, an optimal combination of the first constellation map M₁, the second constellation map M₂, and the third constellation map M₃ needs to be obtained.

FIG. 5 is a schematic flowchart of a method for obtaining an optimal combination of constellation maps according to an embodiment of the present disclosure, including:

Step 51: Set a candidate constellation map set for a first constellation map, a second constellation map, and a third constellation map.

A candidate constellation map set is a constellation map set that is composed of a bit stream in a first data packet and a bit stream in a second data packet and the constellation map sets have different effects. Different constellation maps actually indicate different combination relationships between binary bit values and modulation numbers corresponding to the binary bit values. Abstractly, assume that K bi is are to be modulated, and K bit s correspond to 2^(K) different bit sequences, that is, 2^(K) constellation symbols. It is defined that 2^(K) bit sequences are s_(p) bit sequences, 2^(K) constellation symbols are s_(q) constellation symbols, p, q=0, 1, . . . , 2^(K)−1, and each bit sequence is mapped to a constellation symbol. The order of fixed 2^(K) s_(q) s is not changed, that is, [s₀, s₁, . . . , s₂ _(K) ₋₁], a sequence [s_(p0), s_(p1), . . . , s_(p) ₂ _(K-1)] is obtained by adjusting the sequencing order of the 2^(K) s_(qs), and each s_(p) is mapped to a constellation symbol at the same position. In this map, a constellation map may be obtained. Different constellation maps may be obtained according to the bit sequences in [s_(p0), s_(p1), . . . , s_(p) ₂ _(K-1)]. For example, 4 bits may correspond to 24 constellation maps. However, if two constellation maps differ from each other only in a negative sign, these two constellation maps have the same effect. In this case, the candidate constellation map set includes 12 constellation maps (shown in Table 1).

Step 52: Calculate an average theoretical bit error rate of the first data packet and the second data packet in the case of different constellation combinations within the constellation map set.

The average theoretical bit error rate may be an average theoretical bit error rate in the case of Gaussian channel or ideal equalizer.

Step 53: Determine the constellation combination corresponding to the minimum average theoretical bit error rate as a combination of the first constellation map, the second constellation map, and the third constellation map.

It can be understood that a third data packet is the result after network coding is performed on the first data packet and the second data packet. To be specific, a bit stream transmitted in the third data packet is an Exclusive-OR result of a bit stream transmitted in the first data packet and a bit stream transmitted in the second data packet; the data packets to be actually received are the first data packet and the second data packet (that is, the first and second data packets are obtained by jointly detecting the first data packet, the second data packet, and the third data packet; and the third data packet acts as an auxiliary function when the received signals are jointly detected to obtain the first data packet and the second data packet). Therefore, in this embodiment, only the average theoretical bit error rate of the first data packet and the second data packet needs to be calculated.

The above process of obtaining the optimal constellation combination may be specifically as follows:

For ease of description, it is defined that

${s_{p} = {\sum\limits_{k = 1}^{3}{s_{k}^{\lbrack p\rbrack}i_{k}}}},$

where s_(p) is a three-dimensional signal combined by three modulated data packets. By using the parameter s_(p), an average theoretical bit error ratio of the received signals corresponding to data packet a and data packet b may be calculated.

1) The value of the decimal sequence number pε0, 1, . . . , 2² ^(K+1) −1 is determined by the binary sequence [a₀a₁ . . . a₂K₋₁b₀b₁ . . . b₂k₋₁], number of each constellation point, and 2^(K) is the number of bits in each data packet;

2) s₁ ^([p])=(a₀a₁ . . . a₂ _(K) ₋₁)

3) s₂ ^([p])=M₂(b₀b₁ . . . b₂ _(K) ₋₁);

4) s₃ ^([p])=M₃(c₀c₁ . . . c₂ _(K) ₋₁), c_(k)=a_(k)⊕b_(k).

5) M_(q)(*) indicates that modulation is performed on the bit * by using constellation map M_(q), where q=1, 2, 3.

For example, if all constellation maps adopt 4-PAM, that is, a, b and c are modulated by 4-PAM, the above description may be expressed as follows:

${{\left. 1 \right)\mspace{14mu} s_{p}} = {\sum\limits_{k = 1}^{3}{s_{k}^{\lbrack p\rbrack}i_{k}}}},$

the value of the decimal sequence number pε0, 1, . . . , 15 is determined by the binary sequence [a₀a₁b₀b₁], where a₀,a₁ is the bit stream in data packet a, and b₀,b₁ is the bit stream in data packet b;

2) s₁ ^([p])=M₁(a₀a₁);

3) s₂ ^([p])=M₂(b₀b₁);

4) s₃ ^([p])=M₃(c₀c₁), c_(k)=a_(k)⊕b_(k).

In this embodiment, in the case of a given constellation combination, the average theoretical bit error rate in the case of Gaussian channel or ideal equalizer may be calculated in the following map:

1) First, the error probability that the transmitted signal s=s_(p) is incorrectly determined as (p, qε(0, 1, . . . , 2² ^(K+1) −1), p≠q) is calculated:

$\begin{matrix} \begin{matrix} {{\left( s_{p}\rightarrow s_{q} \right)} = {\left( {{{{r - s_{q}}} < {{r - s_{\hat{q}}}}},{\hat{q} \neq q}} \right)}} \\ {= {\left( {{{{s_{p} - s_{q} + n}} < {{s_{p} - s_{\hat{q}} + n}}},{q \neq \hat{q}}} \right)}} \\ {= {\begin{pmatrix} {{{s_{p} - s_{q}}}^{2} - {{s_{p} - s_{\hat{q}}}}^{2} +} \\ {{{2{\sum\limits_{k = 1}^{3}{\left( {s_{k}^{\lbrack\hat{q}\rbrack} - s_{k}^{\lbrack q\rbrack}} \right){\hat{n}}_{k}}}} > 0},{q \neq \hat{q}}} \end{pmatrix}}} \end{matrix} & (3) \end{matrix}$

The above formula is a 2² ^(K+1) −1-dimensional Gauss distribution function, which is difficult to calculate. However, in the case of a high signal to noise ratio, the calculation may be converted to the calculation of:

$\begin{matrix} \begin{matrix} {{\left( s_{p}\rightarrow s_{q} \right)} = {\left( {{{{r - s_{q}}} < {{r - s_{\hat{q}}}}},{\hat{q} \neq q}} \right)}} \\ {\simeq {\left( {{{{r - s_{q}}} < \underset{\underset{d_{m\; i\; n}^{\lbrack q\rbrack}}{}}{\frac{1}{2}{{s_{q} - s_{\hat{q}}}}}},{\hat{q} \in \hat{Q}}} \right)}} \\ {= {\left( {{\sum\limits_{k = 1}^{3}\left( {{\hat{n}}_{k} + s_{k}^{p} - s_{k}^{q}} \right)^{2}} < {d_{m\; i\; n}^{\lbrack q\rbrack}}^{2}} \right)}} \\ {= {1 - {Q_{m}\left( {\frac{s}{\sigma},\frac{d_{m\; i\; n}^{\lbrack q\rbrack}}{\sigma}} \right)}}} \end{matrix} & (4) \end{matrix}$

The approximate relationship is tenable in the case of a high signal to noise ratio.

The set {circumflex over (Q)} includes all constellation points closest to s_(q), Q_(m) (a,b) is a normalized Marcum Q function

${{Q_{m}\left( {a,b} \right)} = {\int_{b}^{\infty}{x\; {\frac{x}{a}\;}^{m - 1}^{- \frac{({x^{2} + a^{2}}}{2}}{I_{m - 1}({ax})}{x}}}},$

where I_(m-1) is a zero-order Bessel function, and m=2.

2) The average theoretical bit error ratio of the received signals may be expressed as follows:

$\begin{matrix} {{{Pb} = {\frac{1}{L\left( {L - 1} \right)}{\sum\limits_{p = 0}^{L - 1}{\sum\limits_{{q = 0},{q \neq p}}^{L - 1}{{\mathcal{H}\left( {s_{p},s_{q}} \right)}{\left( s_{p}\rightarrow s_{q} \right)}}}}}},} & (5) \end{matrix}$

where L=2² ^(K+1) , and H(s_(p), s_(q)) is the Hamming distance between the two points.

The average theoretical bit error rate of the received signals corresponding to a and b in the case of different constellation combinations may be calculated according to formula (6). After that, the constellation combination corresponding to the minimum average theoretical bit error rate is selected as the optimal constellation combination in a computer search map.

The following uses 16QAM as an example to describe the specific calculation process.

Assume that the symbols obtained after four bits a₀a₁a₂a₃ are modulated are expressed as M₁(a₀a₁)+iM₁(a₂a₃), where M₁ is the constellation map of PAM-4.

Therefore, the modulation of the received signals by I/Q may be expressed as follows:

r ₁=(h ₁ ^([I]) +h ₁ ^([Q]) j)(M ₁(a ₀ a ₁)+iM ₁(a ₂ a ₃))+(n ₁ ^([I]) +n ₁ ^([Q]) j)

r ₂=(h ₂ ^([I]) +h ₂ ^([Q]) j)(M ₂(b ₀ b ₁)+iM ₂(b ₂ b ₃))+(n ₂ ^([I]) +n ₂ ^([Q]) j)

r ₃=(h ₃ ^([I]) +h ₃ ^([Q]) j)(M ₃(c ₀ c ₁)+iM ₃(c ₂ c ₃))+(n ₃ ^([I]) +n ₃ ^([Q]) j)  (7),

where c_(k)=a_(k)⊕b_(k).

The received signals in path I and path Q are separately processed. Assume that after interference of a channel is eliminated by using an equalizer, the following formulas may be obtained (using only the I path as an example):

$\begin{matrix} \left\{ {\left. \begin{matrix} {r_{1I} = {{{\left( {{h_{1}^{\lbrack I\rbrack}}^{2} + {h_{1}^{\lbrack Q\rbrack}}^{2}} \right)\underset{\underset{s_{1}}{}}{\mathcal{M}_{1}\left( {a_{0}a_{1}} \right)}} + {\hat{n}}_{1}^{\lbrack I\rbrack}} = {{h_{1I}s_{1}} + {\hat{n}}_{1}^{\lbrack I\rbrack}}}} \\ {r_{2I} = {{{\left( {{h_{2}^{\lbrack I\rbrack}}^{2} + {h_{2}^{\lbrack Q\rbrack}}^{2}} \right)\underset{\underset{s_{2}}{}}{\mathcal{M}_{2}\left( {b_{0}b_{1}} \right)}} + {\hat{n}}_{2}^{\lbrack I\rbrack}} = {{h_{2I}s_{2}} + {\hat{n}}_{2}^{\lbrack I\rbrack}}}} \\ {r_{2I} = {{{\left( {{h_{3}^{\lbrack I\rbrack}}^{2} + {h_{3}^{\lbrack Q\rbrack}}^{2}} \right)\underset{\underset{s_{3}}{}}{\mathcal{M}_{2}\left( {c_{0}c_{1}} \right)}} + {\hat{n}}_{3}^{\lbrack I\rbrack}} = {{h_{3I}s_{3}} + {\hat{n}}_{3}^{\lbrack I\rbrack}}}} \end{matrix}\Rightarrow r_{I} \right. = {{{\mathcal{M}_{1}\left( {a_{0}a_{1}} \right)}i_{1}} + {{\mathcal{M}_{2}\left( {b_{0}b_{1}} \right)}i_{2}} + {{\mathcal{M}_{3}\left( {c_{0}c_{1}} \right)}i_{3}} + \hat{n}}} \right. & (8) \end{matrix}$

During the search, the candidate constellation map set that is set for the first constellation map, the second constellation map, and the third constellation map is as shown in Table 1.

TABLE 1 Ξ₁ = [d 3d −d −3d]

Ξ₂ = [3d d −3d −d]

Ξ₃ = [d −d 3d −3d]

Ξ₄ = [3d −3d d −d]

Ξ₅ = [d 3d −3d −d]

Ξ₆ = [3d d −d −3d]

Ξ₇ = [d −3d 3d −d]

Ξ₈ = [3d −d d −3d]

Ξ₉ = [3d −d −3d d]

Ξ₁₀ = [−d 3d d −3]

Ξ₁₁ = [3d −3d −d d]

Ξ₁₂ = [−d d 3d −3d]

In the set shown in Table 1, the constellation combination corresponding to the minimum average theoretical bit error rate, that is, an optimal combination, may be obtained by searching with a computer, which is as shown in Table 2.

TABLE 2 Combination 1 M = (Ξ₁, Ξ₇, Ξ₁) Combination 2 M = (Ξ₁, Ξ₇, Ξ₂) Combination 3 M = (Ξ₁, Ξ₈, Ξ₁) Combination 4 M = (Ξ₁, Ξ₈, Ξ₂) Combination 5 M = (Ξ₂, Ξ₇, Ξ₁) Combination 6 M = (Ξ₂, Ξ₇, Ξ₂) Combination 7 M = (Ξ₂, Ξ₈, Ξ₁) Combination 8 M = (Ξ₂, Ξ₈, Ξ₂) Combination 9 M = (Ξ₃, Ξ₅, Ξ₃) Combination 10 M = (Ξ₃, Ξ₅, Ξ₄) Combination 11 M = (Ξ₃, Ξ₆, Ξ₃) Combination 12 M = (Ξ₃, Ξ₆, Ξ₄) Combination 13 M = (Ξ₄, Ξ₅, Ξ₃) Combination 14 M = (Ξ₄, Ξ₅, Ξ₄) Combination 15 M = (Ξ₄, Ξ₆, Ξ₃) Combination 16 M = (Ξ₄, Ξ₆, Ξ₄) Combination 17 M = (Ξ₅, Ξ₃, Ξ₃) Combination 18 M = (Ξ₅, Ξ₃, Ξ₄) Combination 19 M = (Ξ₅, Ξ₄, Ξ₃) Combination 20 M = (Ξ₅, Ξ₄, Ξ₄) Combination 21 M = (Ξ₆, Ξ₃, Ξ₃) Combination 22 M = (Ξ₆, Ξ₃, Ξ₄) Combination 23 M = (Ξ₆, Ξ₄, Ξ₃) Combination 24 M = (Ξ₆, Ξ₄, Ξ₄) Combination 25 M = (Ξ₇, Ξ₁, Ξ₁) Combination 26 M = (Ξ₇, Ξ₁, Ξ₂) Combination 27 M = (Ξ₇, Ξ₂, Ξ₁) Combination 28 M = (Ξ₇, Ξ₂, Ξ₂) Combination 29 M = (Ξ₈, Ξ₁, Ξ₁) Combination 30 M = (Ξ₈, Ξ₁, Ξ₂) Combination 31 M = (Ξ₈, Ξ₂, Ξ₁) Combination 32 M = (Ξ₈, Ξ₂, Ξ₂)

In addition, if only Ξ₁ to Ξ₄ show n in Table 1 are candidate constellation maps, that is, only the constellation mapped by a Gray code is included, the optimal combination corresponding to the constellation mapped by the Gray code, that is, the sub-optimal combination compared with Table 2, may be obtained, as shown in Table 3.

TABLE 3 Combination 1 M = (Ξ₁, Ξ₃, Ξ₁) Combination 2 M = (Ξ₁, Ξ₃, Ξ₂) Combination 3 M = (Ξ₁, Ξ₃, Ξ₃) Combination 4 M = (Ξ₁, Ξ₃, Ξ₄) Combination 5 M = (Ξ₁, Ξ₄, Ξ₁) Combination 6 M = (Ξ₁, Ξ₄, Ξ₂) Combination 7 M = (Ξ₁, Ξ₄, Ξ₃) Combination 8 M = (Ξ₁, Ξ₄, Ξ₄) Combination 9 M = (Ξ₂, Ξ₃, Ξ₁) Combination 10 M = (Ξ₂, Ξ₃, Ξ₂) Combination 11 M = (Ξ₂, Ξ₃, Ξ₃) Combination 12 M = (Ξ₂, Ξ₃, Ξ₄) Combination 13 M = (Ξ₂, Ξ₄, Ξ₁) Combination 14 M = (Ξ₂, Ξ₄, Ξ₂) Combination 15 M = (Ξ₂, Ξ₄, Ξ₃) Combination 16 M = (Ξ₂, Ξ₄, Ξ₄) Combination 17 M = (Ξ₃, Ξ₃, Ξ₁) Combination 18 M = (Ξ₃, Ξ₁, Ξ₂) Combination 19 M = (Ξ₃, Ξ₁, Ξ₃) Combination 20 M = (Ξ₃, Ξ₁, Ξ₄) Combination 21 M = (Ξ₃, Ξ₂, Ξ₁) Combination 22 M = (Ξ₃, Ξ₂, Ξ₂) Combination 23 M = (Ξ₃, Ξ₂, Ξ₃) Combination 24 M = (Ξ₃, Ξ₂, Ξ₄) Combination 25 M = (Ξ₄, Ξ₁, Ξ₁) Combination 26 M = (Ξ₄, Ξ₁, Ξ₂) Combination 27 M = (Ξ₄, Ξ₁, Ξ₃) Combination 28 M = (Ξ₄, Ξ₁, Ξ₄) Combination 29 M = (Ξ₄, Ξ₂, Ξ₁) Combination 30 M = (Ξ₄, Ξ₂, Ξ₂) Combination 31 M = (Ξ₄, Ξ₂, Ξ₃) Combination 32 M = (Ξ₄, Ξ₂, Ξ₄)

After the optimal constellation combination is obtained, the first constellation map, the second constellation map, and the third constellation map in the case of the optimal constellation combination are used to modulate the first data packet, the second data packet, and the third data packet. For example, if combination 1 in Table 3 is used as an example, Ξ₁ is used to modulate data packet a, Ξ₃ is used to modulate data packet b, and Ξ₁ is used to modulate data packet c.

FIG. 6 is a schematic flowchart of a method for obtaining original transmitted data from the received data packets according to an embodiment of the present disclosure, including:

Step 61: Obtain their respective received signals of a first data packet, a second data packet, and a third data packet, and their respective channel information and noise power of the first data packet, the second data packet, and the third data packet.

For example, based on formula (1), the received signal corresponding to the first data packet is r₁, the received signal corresponding to the second data packet is r₂, and the received signal corresponding to the third data packet is r₃. In addition, assume that the channel information corresponding to r₁ is h₁, and the noise power corresponding to r₁ is σ₁ ²; the channel information corresponding to r₂ is h₂, and the noise power corresponding to r₂ is σ₂ ²; and the channel information corresponding to r₃ is h₃, and the noise power corresponding to r₃ is σ₃ ².

Step 62: Obtain the first constellation map, the second constellation map, and the third constellation map, and combine the first constellation map, the second constellation map, and the third constellation map into a three-dimensional combined constellation map.

The formula for calculating the combined constellation map is as follows: M=M₁i₁+M₂i₂+M₃i₃.

FIG. 7 is a schematic diagram of a constellation map according to an embodiment of the present disclosure. Referring to FIG. 7, assume that M₁, M₂, and M₃ are equal and are shown in FIG. 7, based on the constellation map shown in FIG. 7, the combined constellation map shown in FIG. 8 may be obtained. FIG. 8 is a schematic diagram of a combined constellation map according to an embodiment of the present disclosure. Referring to FIG. 8, relative distribution positions of 16 points are illustrated.

Step 63: Calculate a log-likelihood ratio of each of transmitted bits according to the received signals, the channel information, the noise power, and the combined constellation map.

For example, in the calculation of the log-likelihood ratio (LLR) of a₀, the following may be obtained:

${\Pr \left( {{a_{0} = \left. 1 \middle| r_{1} \right.},r_{2},r_{3}} \right)} = {\frac{1}{\left( {2\pi} \right)^{2}{\prod\limits_{k = 1}^{3}\sigma_{k}}}{\sum\limits_{m \in {\mathcal{M}{({a_{0} = 1})}}}\left( {\prod\limits_{k = 1}^{3}{\exp\left( {{- \frac{1}{2}}\frac{{{r_{k} - {h_{k}s_{k}^{\lbrack m\rbrack}}}}^{2}}{\sigma_{k}^{2}}} \right)}} \right)}}$ ${\Pr \left( {{a_{0} = \left. 0 \middle| r_{1} \right.},r_{2},r_{3}} \right)} = {\frac{1}{\left( {2\pi} \right)^{2}{\prod\limits_{k = 1}^{3}{\hat{\sigma}}_{k}}}{\sum\limits_{m \in {\mathcal{M}{({a_{0} = 1})}}}\left( {\prod\limits_{k = 1}^{3}{\exp\left( {{- \frac{1}{2}}\frac{{{r_{k} - {h_{kI}s_{k}^{\lbrack m\rbrack}}}}^{2}}{\sigma_{k}^{2}}} \right)}} \right)}}$ $\mspace{79mu} {{{LLR}\left( a_{0} \right)} = {\log \left( \frac{\Pr \left( {a_{0} = \left. 1 \middle| r_{I} \right.} \right)}{\Pr \left( {a_{0} = \left. 0 \middle| r_{I} \right.} \right)} \right)}}$

Step 64: Obtain original transmitted data of each bit according to the log-likelihood ratio of each of the transmitted bits.

Specifically, if the system does not include channel coding, whether a transmitted value is 0 or 1 may be directly determined according to the LLR (a0). For example, when the LLR (a0) is greater than 0, the original transmitted data of a0 is 0; when the LLR (a0) is smaller than 0, the original transmitted data of a0 is 1. If the system includes channel coding, the LLR (a0) is input to a channel coding module and is decoded to obtain the original data.

FIG. 9 is a schematic structural diagram of a receiving device according to a second embodiment of the present disclosure. The receiving device includes a receiving module 91 and an obtaining module 92. The receiving module 91 is configured to receive modulated data packets. The modulated data packets include: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals. The obtaining module 92 is configured to obtain original transmitted data from the received data packets.

The obtaining module 92 may be specifically configured to obtain their respective received signals of the first data packet, the second data packet, and the third data packet, and their respective channel information and noise power of the first data packet, the second data packet, and the third data packet; obtain the first constellation map, the second constellation map, and the third constellation map, and combine the first constellation map, the second constellation map, and the third constellation map into a three-dimensional combined constellation map; calculate a log-likelihood ratio of each of transmitted bits according to the received signals, the channel information, the noise power, and the combined constellation map; and obtain original transmitted data of each bit according to the log-likelihood ratio of each of the transmitted bits.

According to this embodiment, different data packets are modulated in different modulation maps, and the different modulation maps are capable of minimizing the bit error rate of the received signals, thereby achieving optimal system transmission performance.

FIG. 10 is a constellation combination obtaining device according to a third embodiment of the present disclosure, including a setting module 101, a calculating module 102, and a determining module 103. The setting module 101 is configured to set a candidate constellation map set for a first constellation map, a second constellation map, and a third constellation map. The calculating module 102 is configured to: in the case of different constellation combinations within the constellation map set, calculate an average theoretical bit error rate, for example, an average theoretical bit error rate of a first data packet and a second data packet in the case of Gaussian channel or ideal equalizer. The determining module 103 is configured to determine a constellation combination corresponding to the minimum average theoretical bit error rate as a combination of the first constellation map, the second constellation map, and the third constellation map to modulate the first data packet by using the first constellation map, modulate the second data packet by using the second constellation map, and modulate a third data packet by using the third constellation map.

According to this embodiment, different data packets are modulated in different modulation maps, and the different modulation maps are capable of minimizing a bit error rate of the received signals, thereby achieving optimal system transmission performance.

FIG. 11 is a schematic structural diagram of a system according to a fourth embodiment of the present disclosure, including a constellation combination obtaining device 111, a first transmitting device 112, a second transmitting device 113, a third transmitting device 114, and a receiving device 115. The constellation combination obtaining device 111 is configured to obtain a first constellation map corresponding to a first data packet, a second constellation map corresponding to a second data packet, and a third constellation map corresponding to a third data packet; where the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals. The first transmitting device 112 is configured to generate the first data packet, modulate the first data packet by using the first constellation map, and transmit the modulated first data packet. The second transmitting device 113 is configured to generate the second data packet, modulate the second data packet by using the second constellation map, and transmit the modulated second data packet. The third transmitting device 114 is configured to receive the first data packet and the second data packet, perform an Exclusive-OR operation on the first data packet and the second data packet to obtain the third data packet, modulate the third data packet by using the third constellation map, and transmit the modulated third data packet. The receiving device 115 is configured to receive the modulated first data packet, second data packet, and third data packet to obtain original data.

The constellation combination obtaining device 111 may be as shown in FIG. 10, and the receiving device 115 may be as shown in FIG. 9.

According to this embodiment, different data packets are modulated in different modulation maps, and the different modulation maps are capable of minimizing the bit error rate of the received signals, thereby achieving optimal system transmission performance.

It can be understood that the related features in the above methods and devices may be crossly-referenced. In addition, the wording such as “first” and “second” in the embodiments is merely used to differentiate the embodiments of the present disclosure rather than indicating preference of the embodiments.

Persons of ordinary skills in the art may understand that all or part of steps according to the embodiments of the present disclosure may be implemented by a program instructing relevant hardware such as a hardware processor. The programs may be stored in a computer readable storage medium accessible to the hardware processor. When the programs are executed, the steps of the methods in the embodiments are executed by the hardware processor. The storage medium includes any medium capable of storing program codes, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk or a compact disc-read only memory (CD-ROM).

Finally, it should be noted that the above embodiments are merely provided for describing the solutions of the present disclosure, but not intended to limit the present disclosure. It should be understood by persons of ordinary skill in the art that although the present disclosure has been described in detail with reference to the embodiments, modifications can be made to the solutions described in the embodiments, or equivalent replacements can be made to some features in the solutions, as long as such modifications or replacements do not cause the essence of corresponding solutions to depart from the spirit and scope of the present disclosure. 

1. A network coding-based data transmission method, comprising: receiving, by a receiving device having a processor, data packets, wherein the data packets comprising: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; wherein the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals, and a bit stream transmitted in the third data packet c is an Exclusive-OR result of a bit stream transmitted in the first data packet a and a bit stream transmitted in the second data packet b, that is, c=a⊕b; and obtaining, by the receiving device, original transmitted data from the received data packets.
 2. The method according to claim 1, wherein the first constellation map, the second constellation map, and the third constellation map are a combination of constellation maps in a set candidate constellation map set when an average theoretical bit error rate of the first data packet and the second data packet is minimum.
 3. The method according to claim 2, wherein the minimum average theoretical bit error rate of the first data packet and the second data packet is a minimum average theoretical bit error rate in the case of Gaussian channel or ideal equalizer.
 4. The method according to claim 1, wherein the obtaining original transmitted data from the received data packets comprises: obtaining their respective received signals of the first data packet, the second data packet, and the third data packet, and their respective channel information and noise power of the first data packet, the second data packet, and the third data packet; obtaining the first constellation map, the second constellation map, and the third constellation map, and combining the first constellation map, the second constellation map, and the third constellation map into a three-dimensional combined constellation map; calculating a log-likelihood ratio of each of transmitted bits according to the received signals, the channel information, the noise power, and the combined constellation map; and obtaining original transmitted data of each bit according to the log-likelihood ratio of each of the transmitted bits.
 5. The method according to claim 1, wherein the first data packet is a data packet transmitted from a first user equipment to a relay station and a base station; the second data packet is a data packet transmitted from a second user equipment to the relay station and the base station; and the third data packet is a data packet transmitted from the relay station to the base station.
 6. The method according to claim 1, wherein the first data packet is a data packet transmitted from a base station to a relay station, a first user equipment, and a second user equipment; the second data packet is a data packet transmitted from the base station to the relay station, the first user equipment, and the second user equipment; and the third data packet is a data packet transmitted from the relay station to the first user equipment and the second user equipment.
 7. The method according to claim 1, wherein the first data packet is a data packet transmitted from a first user equipment to a base station and a second user equipment; the second data packet is a data packet transmitted from the second user equipment to the base station and the first user equipment; and the third data packet is a data packet simultaneously transmitted from the first terminal and the second terminal to the base station.
 8. A network coding-based data processing method, comprising: setting a candidate constellation map set for a first constellation map, a second constellation map, and a third constellation map; calculating an average theoretical bit error rate of a first data packet and a second data packet in the case of different constellation combinations within the constellation map set; and determining a constellation combination corresponding to a minimum average theoretical bit error rate as a combination of the first constellation map, the second constellation map, and the third constellation map to modulate the first data packet using the first constellation map, modulate the second data packet by using the second constellation map, and modulate a third data packet by using the third constellation map.
 9. The method according to claim 8, wherein the minimum average theoretical bit error rate of the first data packet and the second data packet is a minimum average theoretical bit error rate in the case of Gaussian channel or ideal equalizer.
 10. A receiving device having a processor, comprising: a receiving module, configured to receive, by the processor, data packets, wherein the data packets comprise: a first data packet modulated by using a first constellation map, a second data packet modulated by using a second constellation map, and a third data packet modulated by using a third constellation map; wherein the first constellation map, the second constellation map, and the third constellation map are capable of minimizing a bit error rate of received signals, and a bit stream transmitted in the third data packet c is an Exclusive-OR result of a bit stream transmitted in the first data packet a and a bit stream transmitted in the second data packet b, that is, c=a⊕b; and an obtaining module, configured to obtain, by the processor, original transmitted data from the received data packets.
 11. The device according to claim 10, wherein the obtaining module is specifically configured to: obtain their respective received signals of the first data packet, the second data packet, and the third data packet, and their respective channel information and noise power of the first data packet, the second data packet, and the third data packet; obtain the first constellation map, the second constellation map, and the third constellation map, and combine the first constellation map, the second constellation map, and the third constellation map into a three-dimensional combined constellation map; calculate a log-likelihood ratio of each of transmitted bits according to the received signals, the channel information, the noise power, and the combined constellation map; and obtain original transmitted data of each bit according to the log-likelihood ratio of each of the transmitted bits.
 12. A constellation combination obtaining device having a processor, comprising: a setting module, configured to set, by the processor, a candidate constellation map set for a first constellation map, a second constellation map, and a third constellation map; a calculating module, configured to, by the processor, calculate an average theoretical bit error rate of a first data packet and a second data packet in the case of different constellation combinations within the constellation map set; a determining module, configured to, by the processor, determine a constellation combination corresponding to a minimum average theoretical bit error rate as a combination of the first constellation map, the second constellation map, and the third constellation map to modulate the first data packet by using the first constellation map, modulate the second data packet by using the second constellation map, and modulate a third data packet by using the third constellation map.
 13. The device according to claim 12, wherein the minimum average theoretical bit error rate of the first data packet and the second data packet is a minimum average theoretical bit error rate in the case of Gaussian channel or ideal equalizer. 